Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dotflow

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotflow

Flow contains the universal [typings](/src/typings/namespace.d.ts) and basic layout of how a `.flow` file should be structured and defined.

  • 1.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Flow

Flow contains the universal typings and basic layout of how a .flow file should be structured and defined.

Examples

  • Minimal file (the most minimal .flow data structure you could have)
  • Basic file (a data structure containing Screens and settings)
  • Basic file with Connections (a data structure containing Screens connections to other nodes)

Building a .flow file from the Basic structure

  1. Clone repo
  2. cd Flow
  3. yarn
  4. yarn run build to build a .flow file

Private Node Types

Node

PropertyTypeDescription
idstringA unique identifier for the node in the Document
namestringA non-unique identifier for the node in the Document
typeNodeTypeOne of NodeType that declares what type of Node it is

Shape extends Node

PropertyTypeDescription
positionFlow.PointA unique identifier for the node in the Document
sizeFlow.SizeA non-unique identifier for the node in the Document
connectionsFlow.Connection[]One of NodeType that declares what type of Node it is

Graphic extends Node

PropertyTypeDescription
positionFlow.PointA unique identifier for the node in the Document
sizeFlow.SizeA non-unique identifier for the node in the Document
sourceFlow.FileAsset or Flow.URLAssetOne of NodeType that declares what type of Node it is

Keywords

FAQs

Package last updated on 13 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc